const Router = require('koa-router');
const orderController = require('../../controllers/orderController')

let orderRouter = new Router();

orderRouter
  .post('/user/order/getOrder', orderController.GetOrder)
  .post('/user/order/addOrder', orderController.AddOrder)
    .post('/user/order/approval', orderController.Approval)
    .post('/user/order/checkOrders', orderController.CheckOrders)
module.exports = orderRouter;